package printers;

import java.io.File;
import java.io.FileOutputStream;
import java.sql.*;
import java.io.IOException;
import java.io.PrintWriter;

public class PlotPrinter {
	private File outputdir;


	
	public PlotPrinter() throws IOException{
		this.outputdir= new File("src/printers/Plot.txt");

		
		
		
	}
	
	public void printToFile(String line) throws IOException{
		try{
			PrintWriter out = new PrintWriter(new FileOutputStream(this.outputdir,true));
			out.println(line);
			out.close();
		}catch (IOException e){}
		
	}
	
	
	
}
